package com.wuzheng.common.obs.upload.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * Title: ObsProperties
 * Description: obs参数配置类
 *
 * @author hfl
 * @version V1.0
 * @date 2020-05-27
 */
@Configuration
@ConfigurationProperties(prefix = "obs")
public class ObsProperties {
    /**
     * 终端节点
     */
    private String endPoint;
    /**
     * 地区
     */
    private String bucketLoc;
    private String ak;
    private String sk;
    private String bucketName;


    public String getEndPoint() {
        return endPoint;
    }

    public void setEndPoint(String endPoint) {
        this.endPoint = endPoint;
    }

    public String getAk() {
        return ak;
    }

    public void setAk(String ak) {
        this.ak = ak;
    }

    public String getSk() {
        return sk;
    }

    public void setSk(String sk) {
        this.sk = sk;
    }

    public String getBucketName() {
        return bucketName;
    }

    public void setBucketName(String bucketName) {
        this.bucketName = bucketName;
    }

    public String getBucketLoc() {
        return bucketLoc;
    }

    public void setBucketLoc(String bucketLoc) {
        this.bucketLoc = bucketLoc;
    }
}
